package game.leon.seawar.server;

import game.leon.engine.net.GameSession;
import game.leon.engine.net.GateSession;
import game.leon.seawar.vo.BaseVO;

/**
 * User: BianP
 * Date: 11-12-31
 * 延时消息, 不同于即时消息, 分开吧
 */
public class DelayMessage {
    private GameSession session;    // 记录session
    private int message;        // 消息ID
    private BaseVO data;        // 不得不类型转换了
    private long expireTime;    // 超时时间
    public DelayMessage(GameSession session,
                        int message,
                        BaseVO data,
                        long expireTime) {
        this.session = session;
        this.message = message;
        this.data = data;
        this.expireTime = expireTime;
    }
    public GameSession getSession() {
        return session;
    }
    public int getMessage() {
        return message;
    }
    public long getExpireTime() {
        return expireTime;
    }
    public BaseVO getData() {
        return data;
    }
}
